package com.yuntai.pms.model.dto.hospital;

import com.alibaba.fastjson.JSON;
import com.yuntai.pms.model.entity.hospital.HosHospital;
import lombok.Data;

@Data
public class HosHospitalDto extends HosHospital {

    private Integer pageNo;
    private Integer pageSize;
    private Long id;       // ztree id
    private String name;   // ztree name
    private Long checked;  // ztree 时使用
    private Long pid;      // ztree 父类id
    private Long userId;   // spring 权限中的userId

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}